import request from '@/utils/request'

// 互转积分
export function dzCashPointConvert(data) {
  return request({
    url: '/UserApi/convert_cash_point',
    method: 'post',
    data
  })
}
// 现金积分明细
export function getCashPointLog(params) {
  return request({
    url: '/UserApi/cash_point_log',
    method: 'get',
    params
  })
}
// 现金积分转增他人
export function dzTransferCashPoint(data) {
  return request({
    url: '/UserApi/transfer_cash_point',
    method: 'post',
    data
  })
}
